package com.artfii.fluentsql.example;

import org.osgl.inject.annotation.Provided;

import javax.annotation.Resource;
import javax.inject.Named;
import javax.inject.Singleton;

/**
 * Func:   :
 *
 * @author : Lqf(leeton)
 * @date : 2021/4/25.
 */
public class DemoServiceImpl implements DemoService {

    public static class Module extends org.osgl.inject.Module {
        @Override
        protected void configure() {
            bind(DemoService.class).to(new DemoServiceImpl());
        }
    }

    @Override
    public String sayHi(String name) {
        return "Hello," + name;
    }


}
